<template>
	<view>
		<view class="align-center font-weight-bold p-t-40 f-36">{{info.title}}</view>
		<view class="p-25">
			<u-parse :html="info.content"></u-parse>
		</view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				info:{}
			}
		},
		onLoad(params){
			this.getInfo(params.title)
		},
		methods:{
			async getInfo(title){
				const res = await this.$service({
					url:"/api/member.agreement/getInfo",
					data:{
						title
					}
				})
				console.log(res)
				this.info = res.data
			}
		}
	}
</script>

<style>
</style>